// getShop.js
Java.perform(function() {
    console.log("[*] Script loaded. Waiting for class to be used...");

    try {
        let OMU = Java.use("X.OMU");
        console.log("[+] Successfully found class: " + OMU);

        OMU["LIZJ"].implementation = function (str, j, c63839P3j, map, j2, c87420YSi) {
            console.log('LIZJ is called' + ', ' + 'str: ' + str + ', ' + 'j: ' + j + ', ' + 'c63839P3j: ' + c63839P3j + ', ' + 'map: ' + map + ', ' + 'j2: ' + j2 + ', ' + 'c87420YSi: ' + c87420YSi);
            let ret = this.LIZJ(str, j, c63839P3j, map, j2, c87420YSi);
            console.log('LIZJ ret value is ' + ret);
            return ret;
        };
        console.log("[+] Hook on LIZJ installed successfully.");

    } catch (error) {
        console.error("[!] Hooking failed: " + error.message);
    }
});